curl --request POST \
--url https://cloud.volttime.com/api/v3/chargers/{charger_uuid}/licenses/payment-intent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"product": "architecto"
}'
{
"payment_intent": "pi_XXXX",
"ephemeral_key": "ek_test_XXXX",
"customer": "cus_XXXX",
"publishable_key": "pk_test_XXXX"
}
See the documentation for more information.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://cloud.volttime.com/api/v3/chargers/{charger_uuid}/licenses/payment-intent \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"product": "architecto"
}'
{
"payment_intent": "pi_XXXX",
"ephemeral_key": "ek_test_XXXX",
"customer": "cus_XXXX",
"publishable_key": "pk_test_XXXX"
}